package com.github.pig.admin.mapper.attendance;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.github.pig.admin.model.attendance.AttendanceGroup;
import com.github.pig.admin.model.attendance.AttendanceGroupUser;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author sxf
 * @since 2018-11-22
 */
@Component
public interface AttendanceGroupUserMapper extends BaseMapper<AttendanceGroupUser> {

    List<AttendanceGroup> getByUserName(@Param("userName") String username);
}
